﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Xml.Serialization;

namespace LiteQuery.Entities
{
    public class Func
    {
        [XmlAttribute("index")]
        public int Index { get; set; } = 0;

        [XmlAttribute("name")]
        public string Name { get; set; } = "面板名称";

        [XmlElement("Query")]
        public Query Query { get; set; } = new Query();

        [XmlElement("Datasql")]
        public DataSql DataSql { get; set; } = new DataSql();
    }
}
